|
Week 2 - Blink Using OS
|

Go to the source code of this file.
Macros | |
| #define | BLINK_TASK_STACK_SIZE (OS_TASK_IDLE_STK_SIZE+0) |
| #define | YELLOW_FREQ (2 * MILLI_HZ_PER_HZ) |
| #define | BLUE_RED_FREQ (1 * MILLI_HZ_PER_HZ) |
| #define | RED_START_DELAY ((BLUE_RED_FREQ * OS_TICKS_PER_SEC) / (2 * MILLI_HZ_PER_HZ)) |
Functions | |
| void | blink_task (void *ptr) |
| void | start_blinking (void) |
Variables | |
| static led_data_t | blue_config |
| static led_data_t | red_config |
| static led_data_t | yellow_config |
| static OS_STK | blue_task_stk [BLINK_TASK_STACK_SIZE] |
| static OS_STK | red_task_stk [BLINK_TASK_STACK_SIZE] |
| static OS_STK | yellow_task_stk [BLINK_TASK_STACK_SIZE] |
Blink Task Source. Blink task is used to to blink one of the reference platform LEDs as a single, independant task.
Definition in file blink_task.c.
1.8.7